<template>
  <div>
    <home-header :seller="seller"></home-header>
    <home-tab></home-tab>
  </div>
</template>

<script>
import HomeHeader from './components/HomeHeader'
import HomeTab from './components/HomeTab'
import axios from 'axios'
export default {
  name: 'Home',
  components: {
    HomeHeader,
    HomeTab
  },
  data () {
    return {
      seller: {}
    }
  },
  created () {
    axios.get('/static/mock/data.json').then((res) => {
      this.seller = res.data.seller
      // console.log(this.seller.name)
    })
  }
}
</script>

<style lang="stylus" scoped>

</style>
